﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebSimplicity.Data;
using System.ComponentModel.DataAnnotations;
using System.Web.Security;

namespace WebSimplicity.Admin.Models
{
    public class Installer
    {
        [Required]
        public string Server { get; set; }
        [Required]
        public string Database { get; set; }
        [Required]
        public string Username { get; set; }
        [Required]
        public string Password { get; set; }
        public InstallationType InstallType { get; set; }
        public bool InstallBlogs { get; set; }          
        public bool InstallStores { get; set; }
        public bool InstallForums { get; set; }
    }

    public class WebsiteSetup
    {
        public Website website { get; set; }
        public Domain domain { get; set; }
        public string Email { get; set; }
    }

    public enum InstallationType { Single, Multisite, Hosted }
}